gtk4.git
21 years agoReduce rounding error. (#154658, John Cupitt)
Matthias Clasen [Thu, 7 Oct 2004 03:44:58 +0000 (03:44 +0000)]
Reduce rounding error. (#154658, John Cupitt)

2004-10-06  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkpaned.c (gtk_paned_compute_position): Reduce rounding
error.  (#154658, John Cupitt)

21 years agoClear the iter instead of returning it unmodified. (#154186, Jonathan
Matthias Clasen [Wed, 6 Oct 2004 18:51:03 +0000 (18:51 +0000)]
Clear the iter instead of returning it unmodified. (#154186, Jonathan

2004-10-06  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeselection.c (gtk_tree_selection_get_selected): Clear
the iter instead of returning it unmodified. (#154186, Jonathan Blandford)

21 years agoPop up the completions again after tab. (#147700, Jens Bech Madsen)
Matthias Clasen [Wed, 6 Oct 2004 18:20:03 +0000 (18:20 +0000)]
Pop up the completions again after tab. (#147700, Jens Bech Madsen)

2004-10-06  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_focus): Pop up
the completions again after tab.  (#147700, Jens Bech Madsen)

21 years agoSet the cursor before changing the selection to make the file chooser
Matthias Clasen [Wed, 6 Oct 2004 17:06:35 +0000 (17:06 +0000)]
Set the cursor before changing the selection to make the file chooser

2004-10-06  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_search_iter): Set the cursor
before changing the selection to make the file chooser preview
update work better.  (#143826, Tommi Komulainen)

21 years agoReplace a really gross way of rounding to a specified number of digits.
Matthias Clasen [Wed, 6 Oct 2004 05:11:36 +0000 (05:11 +0000)]
Replace a really gross way of rounding to a specified number of digits.

2004-10-06  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkrange.c (gtk_range_real_change_value): Replace a really
gross way of rounding to a specified number of digits.  (#145232,
Peter Zelezny, patch by Soeren Sandmann)

21 years agoClarify documentation for selection modes. (#154188, Jonathan Blandford,
Matthias Clasen [Wed, 6 Oct 2004 04:28:42 +0000 (04:28 +0000)]
Clarify documentation for selection modes. (#154188, Jonathan Blandford,

2004-10-06  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/gtkenums.sgml: Clarify documentation for selection
modes.  (#154188, Jonathan Blandford, new wording proposed by
Owen Taylor)

21 years agocheck the iteration window variable, not just the window passed in. fixes
4 [Tue, 5 Oct 2004 23:05:13 +0000 (23:05 +0000)]
check the iteration window variable, not just the window passed in. fixes

Wed Oct  6 00:45:04 2004    <timj@birnet.org>

        * gdk/gdkwindow.c (gdk_window_is_viewable): check the iteration window
        variable, not just the window passed in. fixes #145270.

21 years agoreverted my last change and applied owen's leaner conditional flag update
Tim Janik [Tue, 5 Oct 2004 19:02:49 +0000 (19:02 +0000)]
reverted my last change and applied owen's leaner conditional flag update

Tue Oct  5 21:00:54 2004  Tim Janik  <timj@gtk.org>

        * gtk/gtkwidget.c (gtk_widget_size_allocate): reverted my last change
        and applied owen's leaner conditional flag update which should be good
        enough to preserve resizing flag invariants.

21 years agoUpdate
Matthias Clasen [Tue, 5 Oct 2004 18:42:58 +0000 (18:42 +0000)]
Update

21 years agofixup conflict indicators
Tim Janik [Tue, 5 Oct 2004 17:31:10 +0000 (17:31 +0000)]
fixup conflict indicators

21 years agoremoved redundant gtk_entry_get_layout() decl.
Tim Janik [Tue, 5 Oct 2004 17:30:03 +0000 (17:30 +0000)]
removed redundant gtk_entry_get_layout() decl.

Tue Oct  5 19:29:06 2004  Tim Janik  <timj@gtk.org>

        * gtk/gtkentry.h: removed redundant gtk_entry_get_layout() decl.

21 years agoGo back to not scaling up at all. Less magic.
Matthias Clasen [Tue, 5 Oct 2004 17:06:00 +0000 (17:06 +0000)]
Go back to not scaling up at all. Less magic.

2004-10-05  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkicontheme.c (icon_info_ensure_scale_and_pixbuf): Go back to
not scaling up at all. Less magic.

21 years agoif REQUEST_NEEDED is still set on ::size-allocate, another size-request
Tim Janik [Tue, 5 Oct 2004 15:10:50 +0000 (15:10 +0000)]
if REQUEST_NEEDED is still set on ::size-allocate, another size-request

Tue Oct  5 17:06:26 2004  Tim Janik  <timj@gtk.org>

        * gtk/gtkwidget.c (gtk_widget_size_allocate): if REQUEST_NEEDED is still
        set on ::size-allocate, another size-request has been queued since
        ::size-request and needs to be requeued.

21 years agorename the activate-menu signal to show-menu as discussed in bug #153873.
Paolo Borelli [Tue, 5 Oct 2004 14:19:54 +0000 (14:19 +0000)]
rename the activate-menu signal to show-menu as discussed in bug #153873.

2004-10-05  Paolo Borelli  <pborelli@katamail.com>

* gtk/gtkmenutoolbutton.c: rename the activate-menu signal to
show-menu as discussed in bug #153873.

21 years agoSet action_name. (#154526, John Finlay)
Matthias Clasen [Tue, 5 Oct 2004 14:12:24 +0000 (14:12 +0000)]
Set action_name. (#154526, John Finlay)

2004-10-05  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Set
action_name.  (#154526, John Finlay)

21 years agoReturn a new reference to an existing GdkWindow if one already exists.
Matthias Clasen [Tue, 5 Oct 2004 05:40:42 +0000 (05:40 +0000)]
Return a new reference to an existing GdkWindow if one already exists.

2004-10-05  Matthias Clasen  <mclasen@redhat.com>

* gdk/x11/gdkwindow-x11.c (gdk_window_foreign_new_for_display):
Return a new reference to an existing GdkWindow if one already
exists.  (#151378, Gustavo Carneiro)

21 years agoAdd gtk_accelerator_get_label().
Matthias Clasen [Tue, 5 Oct 2004 05:18:16 +0000 (05:18 +0000)]
Add gtk_accelerator_get_label().

2004-10-05  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk-sections.txt: Add gtk_accelerator_get_label().

21 years agoProvide access to the string representation of accelerators used in
Matthias Clasen [Tue, 5 Oct 2004 05:17:22 +0000 (05:17 +0000)]
Provide access to the string representation of accelerators used in

2004-10-05  Matthias Clasen  <mclasen@redhat.com>

Provide access to the string representation of accelerators used
in GtkAccelLabel.  (#154068, John Spray)

* gtk/gtkaccelgroup.h:
* gtk/gtkaccelgroup.c (gtk_accelerator_get_label): New function
to return the accelerator label used in GtkAccelLabel.
(gtk_accelerator_name): Update docs to point to
gtk_accelerator_get_label().
* gtk/gtkaccellabel.h:
* gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label):
New auxiliary function which creates the string representing the
accelerator.

21 years agoFix bug reporter name
Matthias Clasen [Tue, 5 Oct 2004 04:38:38 +0000 (04:38 +0000)]
Fix bug reporter name

21 years agoResize the popup if a new model is set. (#154129, Bernd Damian)
Matthias Clasen [Tue, 5 Oct 2004 04:37:29 +0000 (04:37 +0000)]
Resize the popup if a new model is set. (#154129, Bernd Damian)

2004-10-05  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcombobox.c (gtk_combo_box_set_model): Resize the
popup if a new model is set.  (#154129, Bernd Damian)

21 years agoMake the code work as intended for unthemed icons; don't scale them up too
Matthias Clasen [Tue, 5 Oct 2004 03:18:22 +0000 (03:18 +0000)]
Make the code work as intended for unthemed icons; don't scale them up too

2004-10-04  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkicontheme.c (icon_info_ensure_scale_and_pixbuf):
Make the code work as intended for unthemed icons; don't scale
them up too much. Allow to scale them down, and do so
exactly.  (#154142, Ross Burton)
(gtk_icon_info_load_icon): Amend docs.

21 years agoImprove docs. (#154504, Dave Cook)
Matthias Clasen [Tue, 5 Oct 2004 02:52:26 +0000 (02:52 +0000)]
Improve docs. (#154504, Dave Cook)

2004-10-04  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcelllayout.c (gtk_cell_layout_clear): Improve
docs.  (#154504, Dave Cook)

21 years agoOnly set using_themed_icon if we actually got an icon list from the theme.
Matthias Clasen [Mon, 4 Oct 2004 15:16:57 +0000 (15:16 +0000)]
Only set using_themed_icon if we actually got an icon list from the theme.

2004-10-04  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwindow.c (gtk_window_realize_icon): Only set
using_themed_icon if we actually got an icon list from the
theme.  (#154472, Morten Welinder)

21 years agoRef the new icons before unreffing the old ones. (#154468, Morten
Matthias Clasen [Mon, 4 Oct 2004 14:52:45 +0000 (14:52 +0000)]
Ref the new icons before unreffing the old ones. (#154468, Morten

2004-10-04  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwindow.c (gtk_window_set_icon_list):
(gtk_window_set_default_icon_list): Ref the new
icons before unreffing the old ones.  (#154468, Morten Welinder)

21 years agoRef the new icons before unreffing the old ones. (#154468, Morten
Matthias Clasen [Mon, 4 Oct 2004 14:47:03 +0000 (14:47 +0000)]
Ref the new icons before unreffing the old ones. (#154468, Morten

2004-10-04  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwindow.c (gtk_window_set_icon_list): Ref the new icons
before unreffing the old ones.  (#154468, Morten Welinder)

21 years agoReset pointers pointing to the old model. (#154350)
Matthias Clasen [Mon, 4 Oct 2004 03:33:59 +0000 (03:33 +0000)]
Reset pointers pointing to the old model. (#154350)

2004-10-03  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkiconview.c (gtk_icon_view_set_model): Reset pointers
pointing to the old model.  (#154350)

21 years agoDon't leak the sizes array. (#154310, Christian Persch)
Matthias Clasen [Mon, 4 Oct 2004 03:09:49 +0000 (03:09 +0000)]
Don't leak the sizes array. (#154310, Christian Persch)

2004-10-03  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwindow.c (icon_list_from_theme): Don't leak the
sizes array.  (#154310, Christian Persch)

21 years agoUpdated British English translation.
David Lodge [Sun, 3 Oct 2004 21:55:03 +0000 (21:55 +0000)]
Updated British English translation.

2004-10-03  David Lodge <dave@cirt.net>

        * en_GB.po: Updated British English translation.

21 years agoSet sort_indicator to FALSE when appropriate. (#153714, Reinout van
Matthias Clasen [Sun, 3 Oct 2004 06:12:09 +0000 (06:12 +0000)]
Set sort_indicator to FALSE when appropriate. (#153714, Reinout van

2004-10-03  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeviewcolumn.c
(gtk_tree_view_column_setup_sort_column_id_callback):
Set sort_indicator to FALSE when appropriate.  (#153714,
Reinout van Schouwen)

21 years agoFix positioning near the monitor boundaries. (#154341, Ken Harris)
Matthias Clasen [Sun, 3 Oct 2004 05:19:52 +0000 (05:19 +0000)]
Fix positioning near the monitor boundaries. (#154341, Ken Harris)

2004-10-03  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_search_position_func):
Fix positioning near the monitor boundaries.  (#154341,
Ken Harris)

21 years agoUpdated Czech translation.
Miloslav Trmac [Sun, 3 Oct 2004 00:48:26 +0000 (00:48 +0000)]
Updated Czech translation.

2004-10-03  Miloslav Trmac  <mitr@volny.cz>

* cs.po: Updated Czech translation.

21 years agodeactivate the menu before setiing it to something else. Bug #153887.
Paolo Borelli [Sat, 2 Oct 2004 10:10:11 +0000 (10:10 +0000)]
deactivate the menu before setiing it to something else. Bug #153887.

2004-10-01  Paolo Borelli  <pborelli@katamail.com>

* gtk/gtkmenutoolbutton.c: deactivate the menu before setiing it
to something else. Bug #153887.

21 years agoUpdated Canadian English translation.
Adam Weinberger [Sat, 2 Oct 2004 00:19:38 +0000 (00:19 +0000)]
Updated Canadian English translation.

* en_CA.po: Updated Canadian English translation.

21 years agoFix bug #150790:
Matthias Clasen [Fri, 1 Oct 2004 21:39:01 +0000 (21:39 +0000)]
Fix bug #150790:

2004-10-01  Matthias Clasen  <mclasen@redhat.com>

Fix bug #150790:

* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): Fix the
calculation of x_offset when ellipsized and in RTL mode.
(gtk_cell_renderer_text_render): Fix the calculation of the layout
width when ellipsized.

21 years agoSet _gdk_input_ignore_wintab to FALSE, thus enabling tablet input by
Tor Lillqvist [Fri, 1 Oct 2004 19:53:55 +0000 (19:53 +0000)]
Set _gdk_input_ignore_wintab to FALSE, thus enabling tablet input by

2004-10-01  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkglobals-win32.c: Set _gdk_input_ignore_wintab to
FALSE, thus enabling tablet input by default.

* gdk/win32/gdkmain-win32.c (_gdk_windowing_args): Accept the
--use-wintab option again (but without effect, as this is now the
default, see above). (#153788)

* modules/input/gtkimcontextime.c: Numerous changes.

Remove the ifdef UNICODE conditionals. Always use the
wide-character Imm* API. It is present also in Windows 98 and
Me. (Not Windows 95, but I think we don't care about that.) Using
the multibyte API wouldn't work anyway on systems where the system
codepage doesn't support the language the user uses an IME for, so
for instance I wouldn't be able to test this module on my English
Windows 2000 although I do have C, J and K IMEs available.

Guard against IMM not being active, always check ImmGetContext()
returning NULL. Work to some extent even without any IME. Fixes
#153800 at least partially.

* modules/input/imime.c (ime_info): Rename to "ime" to match the
naming pattern of other input modules. Make it default for
ja:ko:zh only.

21 years agoAdd a comment regarding cell renderers to the docs.
Matthias Clasen [Fri, 1 Oct 2004 19:00:47 +0000 (19:00 +0000)]
Add a comment regarding cell renderers to the docs.

2004-10-01  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcombobox.c (gtk_combo_box_set_model): Add a comment regarding
cell renderers to the docs.

21 years agoSilently ignore info being NULL. This is unavoidable with the current
Matthias Clasen [Fri, 1 Oct 2004 18:56:14 +0000 (18:56 +0000)]
Silently ignore info being NULL. This is unavoidable with the current

2004-10-01  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear_attributes):
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_clear_attributes):
Silently ignore info being NULL. This is unavoidable with the
current design where we have every implementation of layout_clear
call layout_clear_attributes, and also delegate calls to dependent
cell layouts.  (#154191, Martyn Russell)

21 years agoFix the spelling of Inuktitut in several places. (#154176, John Austin)
Matthias Clasen [Fri, 1 Oct 2004 13:40:14 +0000 (13:40 +0000)]
Fix the spelling of Inuktitut in several places. (#154176, John Austin)

2004-10-01  Matthias Clasen  <mclasen@redhat.com>

* modules/input/iminuktitut.c: Fix the spelling of Inuktitut
in several places.  (#154176, John Austin)

21 years agoexit on close.
Paolo Borelli [Thu, 30 Sep 2004 14:46:21 +0000 (14:46 +0000)]
exit on close.

2004-09-30  Paolo Borelli  <pborelli@katamail.com>

* tests/testellipsize.c: exit on close.

21 years agoAdd Q_ to the keywords recognized by xgettext. (#154062, Damon Chaplin)
Matthias Clasen [Wed, 29 Sep 2004 22:48:28 +0000 (22:48 +0000)]
Add Q_ to the keywords recognized by xgettext. (#154062, Damon Chaplin)

2004-09-29  Matthias Clasen  <mclasen@redhat.com>

* Makefile.in.in: Add Q_ to the keywords recognized by
xgettext.  (#154062, Damon Chaplin)

21 years agoMake --g-fatal-warnings a G_OPTION_ARG_NONE, since it doesn't take an
Matthias Clasen [Wed, 29 Sep 2004 22:29:21 +0000 (22:29 +0000)]
Make --g-fatal-warnings a G_OPTION_ARG_NONE, since it doesn't take an

2004-09-29  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkmain.c: Make --g-fatal-warnings a G_OPTION_ARG_NONE,
since it doesn't take an argument.

21 years agoRemove trailing semicolon on G_END_DECLS
Christopher Blizzard [Wed, 29 Sep 2004 15:08:39 +0000 (15:08 +0000)]
Remove trailing semicolon on G_END_DECLS

2004-09-29  Christopher Blizzard  <blizzard@redhat.com>

       * gtk/gtkmenutoolbutton.h: Remove trailing semicolon on
       G_END_DECLS

21 years agoadd a GtkMenuToolButton.
Paolo Borelli [Wed, 29 Sep 2004 06:48:00 +0000 (06:48 +0000)]
add a GtkMenuToolButton.

2004-09-29  Paolo Borelli  <pborelli@katamail.com>

* tests/testtoolbar.c: add a GtkMenuToolButton.

21 years agoUpdated traditional Chinese translation by GNOME HK Team
Kwok-Koon Cheung [Wed, 29 Sep 2004 05:54:51 +0000 (05:54 +0000)]
Updated traditional Chinese translation by GNOME HK Team

* zh_TW.po: Updated traditional Chinese translation by GNOME HK Team

21 years agoHandle an empty icon view gracefully. (#152486)
Matthias Clasen [Wed, 29 Sep 2004 05:29:31 +0000 (05:29 +0000)]
Handle an empty icon view gracefully. (#152486)

2004-09-29  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkiconview.c (gtk_icon_view_move_cursor_left_right)
(gtk_icon_view_move_cursor_start_end)
(gtk_icon_view_move_cursor_page_up_down)
(gtk_icon_view_move_cursor_up_down): Handle an empty icon
view gracefully.  (#152486)

21 years agoAdd bug reference.
Matthias Clasen [Wed, 29 Sep 2004 05:07:28 +0000 (05:07 +0000)]
Add bug reference.

21 years agoSkip selectable labels when looking for the initial focus widget.
Matthias Clasen [Wed, 29 Sep 2004 05:04:31 +0000 (05:04 +0000)]
Skip selectable labels when looking for the initial focus widget.

2004-09-29  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkdialog.c (gtk_dialog_map): Skip selectable labels when
looking for the initial focus widget.

* gtk/gtklabel.c (gtk_label_focus): Remove to put selectable labels
in the regular focus chain again.

21 years agoDon't reuse insensitive pixbufs across multiple rows. (#153984, Milosz
Matthias Clasen [Tue, 28 Sep 2004 19:10:39 +0000 (19:10 +0000)]
Don't reuse insensitive pixbufs across multiple rows. (#153984, Milosz

2004-09-28  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): Don't
reuse insensitive pixbufs across multiple rows.  (#153984, Milosz
Derezynski)

21 years agoUse gtk_get_option_group() to obtain an option group with correctly set
Matthias Clasen [Tue, 28 Sep 2004 04:22:04 +0000 (04:22 +0000)]
Use gtk_get_option_group() to obtain an option group with correctly set

2004-09-28  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkmain.c (gtk_parse_args): Use gtk_get_option_group()
to obtain an option group with correctly set pre- and post-
parse hooks, instead of manually calling the hooks. This fixes
a problem with setting the program class in the gdk preparse
hook.  (#153788, Robert Ögren)

21 years agoFix #153082:
Matthias Clasen [Mon, 27 Sep 2004 18:40:42 +0000 (18:40 +0000)]
Fix #153082:

2004-09-27  Matthias Clasen  <mclasen@redhat.com>

Fix #153082:

* gtk/gtkmain.c (do_pre_parse_initialization): Don't call gdk_parse_args()
here, we don't want to parse args twice.
(gtk_init_with_args): Add the ugid check here as well.
(gtk_parse_args): Add the gdk options to the main option group as well.

21 years agoadd the GtkMenuToolButton widget discussed in bug #151441.
Paolo Borelli [Mon, 27 Sep 2004 18:37:33 +0000 (18:37 +0000)]
add the GtkMenuToolButton widget discussed in bug #151441.

2004-09-27  Paolo Borelli  <pborelli@katamail.com>

* gtk/Makefile.am:
* gtk/gtk.h:
* gtk/gtkmenutoolbutton.[ch]: add the GtkMenuToolButton widget
discussed in bug #151441.

* docs/reference/gtk/gtk-docs.sgml:
* docs/reference/gtk/gtk-sections.txt:
* docs/reference/gtk/gtk.types:
* docs/reference/gtk/tmpl/gtkmenutoolbutton.sgml: docs for the
new widget.

21 years agoEmit ::finished-loading.
Matthias Clasen [Mon, 27 Sep 2004 16:51:18 +0000 (16:51 +0000)]
Emit ::finished-loading.

2004-09-27  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilesystemunix.c (gtk_file_folder_unix_list_children):
Emit ::finished-loading.

21 years agoAdded Iranian Azerbaijani (az_IR) to ALL_LINUGAS. added Iranian
Roozbeh Pournader [Mon, 27 Sep 2004 12:32:14 +0000 (12:32 +0000)]
Added Iranian Azerbaijani (az_IR) to ALL_LINUGAS. added Iranian

2004-09-27  Roozbeh Pournader  <roozbeh@farsiweb.info>

* configure.in: Added Iranian Azerbaijani (az_IR) to ALL_LINUGAS.
* po/az_IR.po, po-properties/az_IR.po: added Iranian Azerbaijani
translation by Amir Hedayaty <amir@bamdad.org>.

21 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Mon, 27 Sep 2004 10:04:10 +0000 (10:04 +0000)]
Translation updated by Tino Meinen.

2004-09-27  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

21 years agoFix typo in docs. (#153811, Billy Biggs)
Matthias Clasen [Mon, 27 Sep 2004 04:13:37 +0000 (04:13 +0000)]
Fix typo in docs. (#153811, Billy Biggs)

2004-09-27  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_append_column): Fix typo in
docs.  (#153811, Billy Biggs)

21 years agoFix an oversight.
Matthias Clasen [Mon, 27 Sep 2004 04:11:02 +0000 (04:11 +0000)]
Fix an oversight.

21 years agoOnly need a bit for need_timer.
Matthias Clasen [Mon, 27 Sep 2004 04:09:50 +0000 (04:09 +0000)]
Only need a bit for need_timer.

2004-09-27  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkpathbar.h (struct _GtkPathBar): Only need a bit for
need_timer.

21 years agoAdd a missing _ to the name of the has_secondary_backward_stepper
Matthias Clasen [Mon, 27 Sep 2004 03:43:55 +0000 (03:43 +0000)]
Add a missing _ to the name of the has_secondary_backward_stepper

2004-09-26  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtknotebook.c (gtk_notebook_class_init): Add a missing _
to the name of the has_secondary_backward_stepper property.
Noticed by Michèle Garoche.

21 years agoadd missing structures.
Jonathan Blandford [Sun, 26 Sep 2004 06:14:55 +0000 (06:14 +0000)]
add missing structures.

Sun Sep 26 02:06:43 2004  Jonathan Blandford  <jrb@gnome.org>

        * gtk/gtkpathbar.h (struct _GtkPathBar): add missing structures.

21 years agoScroll to make the current folder visible. (#152921)
Matthias Clasen [Sun, 26 Sep 2004 05:54:59 +0000 (05:54 +0000)]
Scroll to make the current folder visible. (#152921)

2004-09-26  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkpathbar.c (gtk_path_bar_check_parent_path): Scroll
to make the current folder visible.  (#152921)

21 years agoRevert the button state to !button_down, if we're missing the release
Matthias Clasen [Sun, 26 Sep 2004 05:47:11 +0000 (05:47 +0000)]
Revert the button state to !button_down, if we're missing the release

2004-09-26  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkbutton.c: Revert the button state to !button_down,
if we're missing the release event due to grab shadowing
or insensitivation.

* gtk/gtkpathbar.c: Make the slider buttons scroll.

21 years agoRemove debug spew. (bookmarks_check_remove_sensitivity): Don't free an
Matthias Clasen [Sun, 26 Sep 2004 05:39:34 +0000 (05:39 +0000)]
Remove debug spew. (bookmarks_check_remove_sensitivity): Don't free an

2004-09-26  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserdefault.c (shortcuts_remove_rows): Remove
debug spew.
(bookmarks_check_remove_sensitivity): Don't free an uninitialized
pointer.

21 years agoRemove debug spew.
Matthias Clasen [Sun, 26 Sep 2004 05:32:27 +0000 (05:32 +0000)]
Remove debug spew.

2004-09-26  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserdefault.c (shortcuts_remove_rows): Remove
debug spew.

21 years agocursor_pos is in characters, not bytes. (#153332, Owen Taylor)
Matthias Clasen [Sun, 26 Sep 2004 04:23:56 +0000 (04:23 +0000)]
cursor_pos is in characters, not bytes. (#153332, Owen Taylor)

2004-09-26  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkimcontext.c (gtk_im_context_get_preedit_string):
cursor_pos is in characters, not bytes.  (#153332, Owen Taylor)

21 years agoSet lcSysOrgX and lcSysOrgY from device instead of hardcoding to 0, a
Robert Ögren [Sat, 25 Sep 2004 20:24:04 +0000 (20:24 +0000)]
Set lcSysOrgX and lcSysOrgY from device instead of hardcoding to 0, a

2004-09-25  Robert Ögren  <gtk@roboros.com>

* gdk/win32/gdkinput-win32.c (gdk_input_wintab_init): Set
lcSysOrgX and lcSysOrgY from device instead of hardcoding to 0,
a further fix for bug #145467.

21 years agoDon't access attr[-1]. (#153628, Padraig O'Briain)
Matthias Clasen [Sat, 25 Sep 2004 04:31:22 +0000 (04:31 +0000)]
Don't access attr[-1]. (#153628, Padraig O'Briain)

2004-09-25  Matthias Clasen  <mclasen@x1-6-00-50-fc-70-9f-e0>

* gtk/gtktextiter.c (inside_word_func): Don't access
attr[-1].  (#153628, Padraig O'Briain)

21 years agoadded .cvsignore files to shut up CVS
Sven Neumann [Fri, 24 Sep 2004 22:24:20 +0000 (22:24 +0000)]
added .cvsignore files to shut up CVS

21 years agoUpdated Canadian English translation.
Adam Weinberger [Fri, 24 Sep 2004 17:43:32 +0000 (17:43 +0000)]
Updated Canadian English translation.

* en_CA.po: Updated Canadian English translation.

21 years agoAdd some tooltips.
Matthias Clasen [Thu, 23 Sep 2004 19:39:39 +0000 (19:39 +0000)]
Add some tooltips.

2004-09-23  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserdefault.c: Add some tooltips.

21 years agoRemove unnecessary g_return_if_fail()s from virtual functions. (#153469,
Matthias Clasen [Wed, 22 Sep 2004 20:39:56 +0000 (20:39 +0000)]
Remove unnecessary g_return_if_fail()s from virtual functions. (#153469,

2004-09-22  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkrange.c (gtk_range_map, gtk_range_unmap):
* gtk/gtkbutton.c (gtk_button_map, gtk_button_unmap): Remove
unnecessary g_return_if_fail()s from virtual functions.  (#153469,
(Tristan Van Berkom)

21 years agoDon't leak cursors. (#153468, Christian Persch)
Matthias Clasen [Wed, 22 Sep 2004 20:33:15 +0000 (20:33 +0000)]
Don't leak cursors. (#153468, Christian Persch)

2004-09-22  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkaboutdialog.c (gtk_about_dialog_finalize): Don't leak
cursors.  (#153468, Christian Persch)

21 years agoDon't leak old_text. (#153467, Christian Persch)
Matthias Clasen [Wed, 22 Sep 2004 20:26:34 +0000 (20:26 +0000)]
Don't leak old_text. (#153467, Christian Persch)

2004-09-22  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_key_press): Don't leak old_text.
(#153467, Christian Persch)

21 years agoDon't use bitops on booleans. (gtk_file_chooser_default_should_respond):
Matthias Clasen [Wed, 22 Sep 2004 20:17:53 +0000 (20:17 +0000)]
Don't use bitops on booleans. (gtk_file_chooser_default_should_respond):

2004-09-22  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserdefault.c (selection_check_foreach_cb): Don't use
bitops on booleans.
(gtk_file_chooser_default_should_respond): Make it easier to
select folders in SELECT_FOLDER mode.

21 years agoDon't use bitops on booleans.
Matthias Clasen [Wed, 22 Sep 2004 19:32:13 +0000 (19:32 +0000)]
Don't use bitops on booleans.

2004-09-22  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserdefault.c (selection_check_foreach_cb): Don't use
bitops on booleans.

21 years agoDon't leak the frame pixbuf.
Matthias Clasen [Wed, 22 Sep 2004 04:55:19 +0000 (04:55 +0000)]
Don't leak the frame pixbuf.

Wed Sep 22 00:52:44 2004  Matthias Clasen  <mclasen@redhat.com>

* demos/gtk-demo/pixbufs.c (do_pixbufs): Don't leak the frame
pixbuf.

21 years ago#include <config.h> for HAVE_MALLINFO define, other minor cleanups.
Manish Singh [Tue, 21 Sep 2004 23:53:27 +0000 (23:53 +0000)]
#include <config.h> for HAVE_MALLINFO define, other minor cleanups.

Tue Sep 21 16:55:38 2004  Manish Singh  <yosh@gimp.org>

        * tests/testtreemodel.c: #include <config.h> for HAVE_MALLINFO define,
        other minor cleanups.

21 years agoremove now unused arg variables.
Manish Singh [Tue, 21 Sep 2004 23:35:18 +0000 (23:35 +0000)]
remove now unused arg variables.

Tue Sep 21 16:27:19 2004  Manish Singh  <yosh@gimp.org>

        * gdk/gdk.c: remove now unused arg variables.

        * gdk/gdkinternals.h: declare _gdk_windowing_init ().

        * gtk/gtkmain.c (do_pre_parse_initialization): call gdk_parse_args ()
        here instead of gdk_pre_parse_libgtk_only (). Should fix #153082.

21 years agoDon't assert that current_focus != NULL, just return FALSE.
Matthias Clasen [Tue, 21 Sep 2004 20:36:31 +0000 (20:36 +0000)]
Don't assert that current_focus != NULL, just return FALSE.

2004-09-21  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_should_respond):
Don't assert that current_focus != NULL, just return FALSE.

21 years agoGive the path bar arrows some more space.
Matthias Clasen [Tue, 21 Sep 2004 20:20:09 +0000 (20:20 +0000)]
Give the path bar arrows some more space.

2004-09-21  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkpathbar.c (gtk_path_bar_size_request): Give the path
bar arrows some more space.

21 years agoCheck for mallinfo.
Matthias Clasen [Tue, 21 Sep 2004 18:03:57 +0000 (18:03 +0000)]
Check for mallinfo.

2004-09-21  Matthias Clasen  <mclasen@redhat.com>

* configure.in: Check for mallinfo.

* tests/testtreemodel.c: Only include malloc.h if HAVE_MALLINFO
is defined.  (#153168, Darren Creutz)

21 years agoFix typos in signal docs. (#153224, John Finlay)
Matthias Clasen [Tue, 21 Sep 2004 17:42:39 +0000 (17:42 +0000)]
Fix typos in signal docs. (#153224, John Finlay)

2004-09-21  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkactiongroup.c: Fix typos in signal docs.  (#153224,
John Finlay)

21 years agoDon't return FALSE from a void function. (#153185, Joel Fredrikson)
Matthias Clasen [Mon, 20 Sep 2004 23:47:38 +0000 (23:47 +0000)]
Don't return FALSE from a void function. (#153185, Joel Fredrikson)

Mon Sep 20 19:27:48 2004  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserdefault.c (shortcuts_activate_iter): Don't
return FALSE from a void function.  (#153185, Joel Fredrikson)

21 years agoAdd a boolean ::displace-focus style property and apply child displacement
Matthias Clasen [Mon, 20 Sep 2004 14:43:18 +0000 (14:43 +0000)]
Add a boolean ::displace-focus style property and apply child displacement

2004-09-20  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkbutton.c (gtk_button_class_init): Add a boolean ::displace-focus
style property and apply child displacement to the focus rectangle
if it is TRUE.  (#141170, Soeren Sandmann)

21 years agoChange from 50 to 20 to make the menus scroll faster.
Søren Sandmann [Sun, 19 Sep 2004 22:01:43 +0000 (22:01 +0000)]
Change from 50 to 20 to make the menus scroll faster.

Sun Sep 19 23:56:18 2004  Søren Sandmann  <sandmann@redhat.com>

* gtk/gtkmenu.c (MENU_SCROLL_TIMEOUT2): Change from 50 to 20 to
make the menus scroll faster.

21 years agoUpdated Canadian English translation.
Adam Weinberger [Sun, 19 Sep 2004 20:41:35 +0000 (20:41 +0000)]
Updated Canadian English translation.

* en_CA.po: Updated Canadian English translation.

21 years agoBump version
Matthias Clasen [Sun, 19 Sep 2004 06:14:13 +0000 (06:14 +0000)]
Bump version

21 years ago2.5.3
Matthias Clasen [Sun, 19 Sep 2004 05:40:00 +0000 (05:40 +0000)]
2.5.3

21 years agoMerged from 2.4:
Federico Mena Quintero [Sat, 18 Sep 2004 20:13:05 +0000 (20:13 +0000)]
Merged from 2.4:

2004-09-18  Federico Mena Quintero  <federico@ximian.com>

Merged from 2.4:

* gtk/gtkfilesystem.h: Removed the GTK_FILE_PATH() and
GTK_IS_FILE_PATH() macros.  They are not supposed to exist, as
GtkFilePath is not an object.  And they never worked, anyway.

21 years agoMake numeric pad enter activate the selected completion entry. Fix bug
Marco Pesenti Gritti [Sat, 18 Sep 2004 10:17:23 +0000 (10:17 +0000)]
Make numeric pad enter activate the selected completion entry. Fix bug

2004-09-18  Marco Pesenti Gritti  <marco@gnome.org>

        * gtk/gtkentry.c: (gtk_entry_completion_key_press):

        Make numeric pad enter activate the selected completion
        entry. Fix bug 143486 reported by Edd Dumbill.

21 years agoUpdating pt_BR translation
Raphael Higino [Fri, 17 Sep 2004 22:14:54 +0000 (22:14 +0000)]
Updating pt_BR translation

21 years agoUpdates
Matthias Clasen [Fri, 17 Sep 2004 19:21:37 +0000 (19:21 +0000)]
Updates

2004-09-17  Matthias Clasen  <mclasen@redhat.com>

* NEWS: Updates

21 years agoScroll to the selected row. (#143868, Christian Persch)
Matthias Clasen [Fri, 17 Sep 2004 19:05:45 +0000 (19:05 +0000)]
Scroll to the selected row. (#143868, Christian Persch)

2004-09-17  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserdefault.c (select_func): Scroll to the selected
row.  (#143868, Christian Persch)

21 years agoRemove leftover debug code.
Matthias Clasen [Fri, 17 Sep 2004 18:13:26 +0000 (18:13 +0000)]
Remove leftover debug code.

2004-09-17  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): Remove
leftover debug code.

Improve the behaviour of the file chooser in save mode. Fixes bugs
#151031, #151608, #151994 reported by Owen Taylor and Alexander
Larsson.

* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_set_property):
(location_entry_create): Propagate the action to the file
chooser entries.
(gtk_file_chooser_default_should_respond): Switch folders if
the user enters a directory name in the entry and clear the entry
after switching folders.
(gtk_file_chooser_default_should_respond, shortcuts_row_activated_cb):
Move focus to the file list when activating a shortcut.
(gtk_file_chooser_default_should_respond): Handle the case where the
user clicks on "Save" after selecting a folder in the file list.

* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_set_property):
Propagate the action to the file chooser entries.

* gtk/gtkfilechooserentry.h:
* gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_set_action):
(_gtk_file_chooser_entry_get_action): New functions to propagate
the GtkFileChooserAction of the file chooser to the file chooser
entry.
(check_completion_callback): If we are in save mode, only do
inline completion for directories.

21 years agoAdd an example to the docs.
Jonathan Blandford [Fri, 17 Sep 2004 15:20:31 +0000 (15:20 +0000)]
Add an example to the docs.

Fri Sep 17 11:20:03 2004  Jonathan Blandford  <jrb@gnome.org>

        * gtk/gtklabel.c (gtk_label_set_markup): Add an example to the
        docs.

21 years agoWarn if a UTF8_STRING or text/plain;charset=utf-8 roperty contains invalid
Matthias Clasen [Fri, 17 Sep 2004 03:23:32 +0000 (03:23 +0000)]
Warn if a UTF8_STRING or text/plain;charset=utf-8 roperty contains invalid

Thu Sep 16 23:20:05 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkselection.c (selection_get_text_plain):
* gdk/x11/gdkselection-x11.c (make_list): Warn if a UTF8_STRING
or text/plain;charset=utf-8 roperty contains invalid
UTF-8.  (#152845, Owen Taylor)

21 years agoForgotten ChangeLog
Matthias Clasen [Fri, 17 Sep 2004 02:37:21 +0000 (02:37 +0000)]
Forgotten ChangeLog

21 years agoFix #152760, Christian Persch:
Matthias Clasen [Thu, 16 Sep 2004 19:09:29 +0000 (19:09 +0000)]
Fix #152760, Christian Persch:

2004-09-16  Matthias Clasen  <mclasen@redhat.com>

Fix #152760, Christian Persch:

* gtk/gtkaboutdialog.c (gtk_about_dialog_finalize): Don't free
private data.
(gtk_about_dialog_set_translator_credits): Recommend the msg
id translator-credits.
(display_credits_dialog): Show translator credits if they're
translated, not if they're untranslated.

21 years agoload images at normal size.
Jonathan Blandford [Thu, 16 Sep 2004 06:16:38 +0000 (06:16 +0000)]
load images at normal size.

Thu Sep 16 02:07:56 2004  Jonathan Blandford  <jrb@gnome.org>

        * docs/tools/widgets.c (create_icon_view): load images at normal
        size.

        * docs/reference/gtk/images/*png: Update shots.

21 years agoru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.
Dmitry Mastrukov [Thu, 16 Sep 2004 04:34:24 +0000 (04:34 +0000)]
ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.

21 years agoAdd constrained sizing to the widgets. This gives us all images running
Jonathan Blandford [Thu, 16 Sep 2004 04:34:21 +0000 (04:34 +0000)]
Add constrained sizing to the widgets. This gives us all images running

Thu Sep 16 00:33:11 2004  Jonathan Blandford  <jrb@gnome.org>

        * docs/tools/widgets.c (new_widget_info): Add constrained sizing
        to the widgets.  This gives us all images running the same size,
        which will make the table layout look better.